package com.test.security.springsecuritydemo6.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： liuziyang
 * @date： 2023/1/2-22:40
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @GetMapping("ciao")
    public String caio() {
        return "ciao";
    }

    @GetMapping("/hola")
    public String hola() {
        return "hola";
    }

    @GetMapping("/hello2")
    public String hello2() {
        return "hello ant";
    }
}
